<!DOCTYPE html>
<html>
{include file="head.html"}
<body>
 <div class="header">
 <a  class="left-btn" href="{R('/index.php')}"><span class="iconfont icon-back"></span></a>
 	<div class="title">留言板</div>
 </div>
 {include file="guest/nav.html"}
 <div class="guestlist">
	{foreach item=c from=$data}
    	<div class="item">
        	<div class="title">{$c.title} <small>{$catlist[$c.catid]}</small></div>
            <div class="row">邮箱：{$c.email} QQ:{$c.qq}</div>
            <div class="row">留言时间：{$c.dateline|date:Y-m-d H:m:i}</div>
            <div class="row">留言内容：</div>
            <div class="content">{$c.content|cutstr:32:...}</div>
            {if $c.reply_time}
            	<div class="row">回复时间：{$c.reply_time|date:Y-m-d H:m}</div>
            	<div class="content">{$c.reply_content|cutstr:32:..}</div>
            	
            {else}
            	<div class="content">暂无回复</div>
            {/if}
             
        </div>
    {/foreach}

</div>
<div>{$pagelist}</div>
 
{include file="footer.html"}
</body>
</html>